package cn.dakaqi.activity.address.services;

import cn.dakaqi.entities.ActivityAddress;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/4/13.
 */
public interface ActivityAddressService
{
    public void save(String jsonData)throws ServiceRuntimeException;
    public void save(ActivityAddress activityAddress)throws ServiceRuntimeException;
    public void update(ActivityAddress activityAddress)throws ServiceRuntimeException;
    Page<ActivityAddress> findByMemberCode(String memberCode,String name,int pageNumber)throws Exception;
    public ActivityAddress findOne(Long id)throws ServiceRuntimeException;
    public void del(Long id)throws ServiceRuntimeException;
}
